<template>
  <div class="hello">
    <Button type="primary" @click="on()">Primary</Button>
  </div>
</template>

<script>
  import Vue from 'vue'
  import {Button, Table} from 'iview';
  Vue.component('Button', Button);
  Vue.component('Table', Table);
  export default {
    name: 'Login',
    data () {
      return {}
    },
    methods: {
      on () {
        this.$router.push({path: '/HomePage'});
      }
    }
  }
</script>
<style scoped>

</style>
